import request from '@/utils/request'
// mv地址
export function search (keywords, limit, offset, type) {
  return request({
    url: '/search',
    method: 'get',
    params: {
      keywords,
      limit,
      offset,
      type
    }
  })
}
export function suggestion (keywords) {
  return request({
    url: '/search/suggest',
    method: 'get',
    params: {
      keywords,
      type: 'mobile'
    }
  })
}
